package com.jf.exam.service.impl;

import com.jf.exam.mapper.ManagerMapper;
import com.jf.exam.pojo.vo.ManageVO;
import com.jf.exam.service.ManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: weidong
 * @create: 2018-07-18 22:17
 **/
@Service
public class ManageServiceImpl implements ManageService {

    @Autowired
    ManagerMapper managerMapper;

    @Override
    public int updatePassword(ManageVO manager) {
        return managerMapper.updateManager(manager);
    }

    @Override
    public ManageVO getManageByName(String username) {
        return managerMapper.getManageByName(username);
    }
}
